#pragma once

#include <d3d9.h>
#include <d3dx9.h>

#include <string>

//////////////////////////////////////////////////
//SceneManager
//////////////////////////////////////////////////

class RenderDevice;

class SceneManager
  {
  public:
    SceneManager(void);
    ~SceneManager(void);

  private:    
    LPD3DXMESH m_mesh;
    D3DXMATERIAL* d3dxMaterials;
    D3DMATERIAL9* meshMaterials;
    DWORD m_numMaterials;
    LPDIRECT3DTEXTURE9 *meshTextures;
    bool m_loaded;

  public:
    void LoadScene(std::string i_path, std::string i_name, RenderDevice* i_render_device);
    void RenderScene(RenderDevice* i_render_device);
    bool IsLoaded();
  };

//////////////////////////////////////////////////